package com.zygh.lz.dao.app;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zygh.lz.entity.app.AppTraffic;
import com.zygh.lz.entity.vo.AppTrailerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AppTrafficMapper extends BaseMapper<AppTraffic> {

    @Select("SELECT `code`,driver_state FROM app_trailer_info WHERE signboard = 0")
    List<AppTrailerVO> findNoSync();

}
